#pragma once
#ifndef _Include_ChessRook_h_
#define _Include_ChessRook_h_

#include "ChessPiece.h"

class ChessRook : public ChessPiece
{
public:
    ChessRook() {}
    ChessRook(int row_index, int col_index) :
        ChessPiece(row_index, col_index) {}
    virtual ~ChessRook() {};

public:
    virtual HRESULT DrawCanMove(const HWND& hwnd);
    virtual HRESULT MoveCheck(const CHESS_POS& m_select_pos);

protected:
    HRESULT CheckPos(const CHESS_POS& pos, BOOL& push_stop);
};
typedef std::unique_ptr<ChessRook> LPChessRook;

#endif//_Include_ChessRook_h_